#!/bin/bash
HOST="122.51.239.223"
DB="express_blog"
USER="express_blog"
PASS="test1234"
PORT="3306"
DIR="./db/models"
JSON_DEFINED="./definitions.json"
EXEC="sequelize-auto -o ${DIR} -d ${DB} -h ${HOST} -u ${USER} -p ${PORT} -x ${PASS} -e mysql -a ${JSON_DEFINED}"

sequelize-auto -o './db/models' -d express_blog -h 122.51.239.223 -u express_blog -p 3306 -x test1234 -e mysql -a ./definitions.json